//
//  QNViewController.m
//  JSAPIModule
//
//  Created by sumeng on 03/01/2018.
//  Copyright (c) 2018 sumeng. All rights reserved.
//

#import "QNViewController.h"
#import "QNWebProgressView.h"

@interface QNViewController ()
@property (nonatomic, strong) QNWebProgressView *progressView;
@end

@implementation QNViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    [self.view addSubview:self.progressView];
}

- (QNWebProgressView *)progressView {
    if (!_progressView) {
        _progressView = [[QNWebProgressView alloc] initWithFrame:CGRectMake(0, 64, 320, 2)];
        _progressView.progress = 0.5;
    }
    return _progressView;
}
@end
